package com.zzy.web;

public class openIE {
    public static  void  main(String a[]){
        //打开的是服务器的 IE
        String url = "https://www.baidu.com/";
        ProcessBuilder builder = new ProcessBuilder(
                "c:\\Program Files\\Internet Explorer\\iexplore", url);
        try{
            builder.start();
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
